from user import  models

def query_category(request):
    categories = models.Category.objects.all()
    title="个人博客"
    return  locals()